package com.zmc.common.exception.base;

import com.zmc.common.enums.ErrorCodeEnum;

/**
 * @Author：zmc
 * @Date：2024/11/26 10:13
 */
public class ThirdBaseException extends RuntimeException {

    private final ErrorCodeEnum errorCodeEnum;

    public ThirdBaseException(String msg) {
        super(msg);
        this.errorCodeEnum = ErrorCodeEnum.THIRD_REQUEST_EXCEPTION;
    }

    public ErrorCodeEnum getErrorCode() {
        return errorCodeEnum;
    }
}
